package com.ronglian.register_mini_program.controller;

import io.swagger.annotations.*;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class IndexController {


    @ApiOperation(value = "index页面", notes = "index页面")
    @RequestMapping(value = "/index", method = RequestMethod.GET)
    public String index() {

        return "index";
    }

    @ApiOperation(value = "form测试", notes = "form测试")
    @RequestMapping(value = "/form", method = RequestMethod.GET)
    public String form() {

        return "upload";
    }
}